<?php /* Smarty version 2.6.19, created on 2011-06-26 00:01:42
         compiled from index/addWeiBo.phtml */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加微博</title>
</head>
 <body>
 
<form enctype="multipart/form-data" action="http://localhost/index/addweibo"    method="post" >

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea1" ></textarea> </div>
  <div><input type="file"   name="file1"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea2" ></textarea> </div>
  <div><input type="file"   name="file2"  /></div>
</div>
<!-- 
<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea3" ></textarea> </div>
  <div><input type="file"   name="file3"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea4" ></textarea> </div>
  <div><input type="file"   name="file4"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea5" ></textarea> </div>
  <div><input type="file"   name="file5"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea6" ></textarea> </div>
  <div><input type="file"   name="file6"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea7" ></textarea> </div>
  <div><input type="file"   name="file7"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea8" ></textarea> </div>
  <div><input type="file"   name="file8"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea9" ></textarea> </div>
  <div><input type="file"   name="file9"  /></div>
</div>

<div style="margin-top:15px;" >
  <div><textarea rows="5" cols="70" name="textarea10" ></textarea> </div>
  <div><input type="file"   name="file10"  /></div>
</div>

 -->
<table>
<?php unset($this->_sections['contentList']);
$this->_sections['contentList']['name'] = 'contentList';
$this->_sections['contentList']['loop'] = is_array($_loop=$this->_tpl_vars['rows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['contentList']['show'] = true;
$this->_sections['contentList']['max'] = $this->_sections['contentList']['loop'];
$this->_sections['contentList']['step'] = 1;
$this->_sections['contentList']['start'] = $this->_sections['contentList']['step'] > 0 ? 0 : $this->_sections['contentList']['loop']-1;
if ($this->_sections['contentList']['show']) {
    $this->_sections['contentList']['total'] = $this->_sections['contentList']['loop'];
    if ($this->_sections['contentList']['total'] == 0)
        $this->_sections['contentList']['show'] = false;
} else
    $this->_sections['contentList']['total'] = 0;
if ($this->_sections['contentList']['show']):

            for ($this->_sections['contentList']['index'] = $this->_sections['contentList']['start'], $this->_sections['contentList']['iteration'] = 1;
                 $this->_sections['contentList']['iteration'] <= $this->_sections['contentList']['total'];
                 $this->_sections['contentList']['index'] += $this->_sections['contentList']['step'], $this->_sections['contentList']['iteration']++):
$this->_sections['contentList']['rownum'] = $this->_sections['contentList']['iteration'];
$this->_sections['contentList']['index_prev'] = $this->_sections['contentList']['index'] - $this->_sections['contentList']['step'];
$this->_sections['contentList']['index_next'] = $this->_sections['contentList']['index'] + $this->_sections['contentList']['step'];
$this->_sections['contentList']['first']      = ($this->_sections['contentList']['iteration'] == 1);
$this->_sections['contentList']['last']       = ($this->_sections['contentList']['iteration'] == $this->_sections['contentList']['total']);
?>
   <?php echo $this->_tpl_vars['rows'][$this->_sections['contentList']['index']]['id']; ?>

<?php endfor; endif; ?>
</table>



 <input type="submit"     /> 
</form>
 
 
 </body>
</html>